package com.lzx.es.entity.answerVO;

import lombok.Data;

import java.util.List;

@Data
public class PageResult {
    //总条数
    private Long total;
    //所有问题
    private List<Problem> problems;

    public PageResult() {
    }

    public PageResult(Long total, List<Problem> problems) {
        this.total = total;
        this.problems = problems;
    }
}
